#!/bin/sh
set -o errexit || exit $?

cd "{GAME_INSTALL_DIR}"

if test -f "OpenRA.Server"; then
	./OpenRA.Server Game.Mod={MODID} "$@"
else
	dotnet OpenRA.Server.dll Game.Mod={MODID} "$@"
fi
